package com.nebula.entity;

import java.util.Date;

/**
 * @author CcccX
 * @create 2019-01-03 16:05
 */
public class User {
    private String id;
    private String username;
    private String password;
    private String realname;
    private String gender;
    private Integer roleId;
    private Date createdTime;
    private Date updatedTime;
    private Integer questionOne;
    private String answerOne;
    private Integer questionTwo;
    private String answerTwo;
    private Integer questionThree;
    private String answerThree;

    public User() {
    }

    public User(String id, String username, String password, String realname, String gender, Integer roleId, Date createdTime, Date updatedTime, Integer questionOne, String answerOne, Integer questionTwo, String answerTwo, Integer questionThree, String answerThree) {
        this.id = id;
        this.username = username;
        this.password = password;
        this.realname = realname;
        this.gender = gender;
        this.roleId = roleId;
        this.createdTime = createdTime;
        this.updatedTime = updatedTime;
        this.questionOne = questionOne;
        this.answerOne = answerOne;
        this.questionTwo = questionTwo;
        this.answerTwo = answerTwo;
        this.questionThree = questionThree;
        this.answerThree = answerThree;
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public Date getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(Date updatedTime) {
        this.updatedTime = updatedTime;
    }

    public String getRealname() {
        return realname;
    }

    public void setRealname(String realname) {
        this.realname = realname;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public Integer getQuestionOne() {
        return questionOne;
    }

    public void setQuestionOne(Integer questionOne) {
        this.questionOne = questionOne;
    }

    public String getAnswerOne() {
        return answerOne;
    }

    public void setAnswerOne(String answerOne) {
        this.answerOne = answerOne;
    }

    public Integer getQuestionTwo() {
        return questionTwo;
    }

    public void setQuestionTwo(Integer questionTwo) {
        this.questionTwo = questionTwo;
    }

    public String getAnswerTwo() {
        return answerTwo;
    }

    public void setAnswerTwo(String answerTwo) {
        this.answerTwo = answerTwo;
    }

    public Integer getQuestionThree() {
        return questionThree;
    }

    public void setQuestionThree(Integer questionThree) {
        this.questionThree = questionThree;
    }

    public String getAnswerThree() {
        return answerThree;
    }

    public void setAnswerThree(String answerThree) {
        this.answerThree = answerThree;
    }

    @Override
    public String toString() {
        return "User{" +
                "id='" + id + '\'' +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", realname='" + realname + '\'' +
                ", gender='" + gender + '\'' +
                ", roleId=" + roleId +
                ", createdTime=" + createdTime +
                ", updatedTime=" + updatedTime +
                ", questionOne='" + questionOne + '\'' +
                ", answerOne='" + answerOne + '\'' +
                ", questionTwo='" + questionTwo + '\'' +
                ", answerTwo='" + answerTwo + '\'' +
                ", questionThree='" + questionThree + '\'' +
                ", answerThree='" + answerThree + '\'' +
                '}';
    }
}
